package com.uls.hj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 场馆使用排班对象 hj_venue_schedules
 * 
 * @author hj
 * @date 2024-11-24
 */
public class HjVenueSchedules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long scheduleId;

    /** 场馆id */
    @Excel(name = "场馆id")
    private Long venueId;

    /** 预约id */
    @Excel(name = "预约id")
    private Long bookingId;

    /** 排班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleDate;

    /** 使用时段 */
    @Excel(name = "使用时段")
    private String useTime;

    /** 删除标记（0-未删，1-已删） */
    private Integer delFlag;

    public void setScheduleId(Long scheduleId) 
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() 
    {
        return scheduleId;
    }
    public void setVenueId(Long venueId) 
    {
        this.venueId = venueId;
    }

    public Long getVenueId() 
    {
        return venueId;
    }
    public void setBookingId(Long bookingId) 
    {
        this.bookingId = bookingId;
    }

    public Long getBookingId() 
    {
        return bookingId;
    }
    public void setScheduleDate(Date scheduleDate) 
    {
        this.scheduleDate = scheduleDate;
    }

    public Date getScheduleDate() 
    {
        return scheduleDate;
    }
    public void setUseTime(String useTime) 
    {
        this.useTime = useTime;
    }

    public String getUseTime() 
    {
        return useTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scheduleId", getScheduleId())
            .append("venueId", getVenueId())
            .append("bookingId", getBookingId())
            .append("scheduleDate", getScheduleDate())
            .append("useTime", getUseTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }

    /** 场馆名称 */
    private String venueName;

    /** 预约人 */
    private String bookingBy;

    /** 预约人账户 */
    private String bookingAccount;

    /** 预约人电话 */
    private String phonenumber;

    public String getVenueName() {
        return venueName;
    }

    public void setVenueName(String venueName) {
        this.venueName = venueName;
    }

    public String getBookingBy() {
        return bookingBy;
    }

    public void setBookingBy(String bookingBy) {
        this.bookingBy = bookingBy;
    }

    public String getBookingAccount() {
        return bookingAccount;
    }

    public void setBookingAccount(String bookingAccount) {
        this.bookingAccount = bookingAccount;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }
}
